<!DOCTYPE html>
<html>
<head>
<link href="./css/modern.css" rel="stylesheet">
<link href="./css/style-student-group.css" rel="stylesheet" type="text/css">
</head>
<%
	String courseNumber = (String) request.getAttribute("courseNumber");
	String sectionNumber = (String) request
			.getAttribute("sectionNumber");
	String firstname = (String) request.getAttribute("firstname");
	String lastname =  (String) request.getAttribute("lastname");
%>
<script>

</script>
<body>

	<div id="container">
		<div id="header">
			<br>
			<h1 id="main-title">
				<b><font color="000000">EECE Student Group Assessments</b></font>
			</h1>
			<h2>
				<a href="index.html">
				<p align="right">
					<font size="5">Logout</font>
				</p>
			</a>
			</h2>
		</div>
		<div id="body" align="left">
		    <form id=form method="post" action="ProfBackCoursePortalServlet">
             	<a href = "javascript:;" onclick="document.getElementById('form').submit();" class="back-button big page-back">
             		<input type = "hidden" name = "firstname" value = <%=firstname%>>
					<input type = "hidden" name = "lastname" value = <%=lastname%>>	
					<input type = "hidden" name = "courseNumber" value = "<%=courseNumber%>">
					<input type = "hidden" name = "sectionNumber" value = <%=sectionNumber%>>	
             	</a>
            </form>
			<br>
			<div id="innerBody" class="page-region-content tiles" align="center">
				<h3>
					<font size="6">Enter a list of classrooms for <%=courseNumber%>
						Section <%=sectionNumber%></font>
				</h3><br>
				<form name="random" id="random" action="ProfAddClassroomServlet" method="get">
					<p>Please seperate the rooms with a comma.  Room names must be no longer than 4 characters in length.</p>
					<textarea name="text" rows="4" columns="100"></textarea>
					<input type="hidden" name="courseNumber" value="<%=courseNumber%>">
					<input type="hidden" name="sectionNumber" value=<%=sectionNumber%>>
					<input type="hidden" name="firstname" value="<%=firstname%>">
					<input type="hidden" name="lastname" value=<%=lastname%>>
					<br>
					<input type="submit" value="Add Classrooms" /><br>
				</form>
			</div>
		</div>
		<div id="footer">
			&copy;UBC Electrical and Computer Engineering. Styled with <a
				href="http://metroui.org.ua">Metro UI CSS</a>
		</div>
	</div>
</body>
</html>